package com.easy.mapper;

import com.easy.bean.Attraction;
import com.easy.bean.User;
import com.easy.util.Page;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

@Mapper
public interface AttractionDao {
int add(@Param("param") Attraction attraction);
int del(@Param("id") Integer id);
int edit(@Param("param") Attraction attraction);
Attraction one(@Param("id") Integer id);
List<Attraction> all(@Param("param") Attraction attraction);
int pageCount(@Param("param") Attraction attraction);
List<Attraction> page(@Param("page") Page page,@Param("param") Attraction attraction);
}
